﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/CSS/Site.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/CSS/ModernLayout.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/CSS/Search.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/modernizr-1.7.min.js")" type="text/javascript"></script>
</head>

<body>
    <div style="color: white; width: 100%; background-color: #FF9999; border-bottom: 1px solid red;"><img src="@Url.Content("~/Content/Images/Misc/Warning.png")" style="width: 16px; height: 16px;" alt="" />&nbsp;Please keep things school appropriate</div>
    <div id="Wrapper">
        <div id="PageHeader">
            <div id="Banner">
                <a href="@Url.Action("Index", "Home")"><img src="@Url.Content("~/Content/Images/Layouts/ModernLayout/budgetmeals_banner.png")" alt="" /></a>
            </div>
            <div id="PageTitle">
                @ViewBag.Title
            </div>
            <div class="ClearFix"></div>
        </div>
        <div style="float:left">
                @if (Session["CurrentUser"] == null)
                {
                    @Html.ActionLink("Sign in", "Login", "Home", new { url = Request.Url.PathAndQuery}, null) <span>or</span> @Html.ActionLink("Register", "Create", "User")
                }
                else
                {
                    @Html.ActionLink("Logout", "Logout", "Home")
                }
        </div>
        <div class="ClearFix"></div>
        @{
            Html.RenderPartial("Navigation", new {url = Request.Url.PathAndQuery});
        }
        <div style="margin-top: 10px;"></div>
        <div class="GlassBorderThick">
            <div id="ContentWrapper">
                @RenderBody()
            </div>
        </div>
    </div>
</body>
</html>
